//
//  TKYTitleButton.m
//  StationHouseHelper
//
//  Created by apple on 2018/7/9.
//  Copyright © 2018年 铁科院. All rights reserved.
//

#import "TKYTitleButton.h"

@implementation TKYTitleButton

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        // 设置按钮颜色
        // self.selected = NO;
        [self setTitleColor:[UIColor darkGrayColor] forState:UIControlStateNormal];
        // self.selected = YES;
        [self setTitleColor:kRGBColor(83, 152, 244, 1) forState:UIControlStateSelected];
        self.titleLabel.font = [UIFont systemFontOfSize:14];
    }
    return self;
}

@end
